package dbb

import (
	"time"

	"fyne.io/fyne/v2/widget"
)

func flash(msg *widget.Label, s string) {
	msg.SetText("")
	time.Sleep(time.Millisecond * 100)
	msg.SetText(s)
	time.Sleep(time.Millisecond * 100)
	msg.SetText("")
	time.Sleep(time.Millisecond * 100)
	msg.SetText(s)
	time.Sleep(time.Millisecond * 100)
	msg.SetText("")
	time.Sleep(time.Millisecond * 100)
	msg.SetText(s)
}
